package com.xieli.invitesdk.bean

/**
 * @author       sr
 * @describe     邀请有礼相关bean类
 */

open class invitecodeData {
    open var code: Int = 0
    open var message: String = ""
    open var invitecode:String=""
    open var invite_id:String=""
    open var create_time:String=""

    fun isSuccess():Boolean{
        return code==10000
    }
}

open class inviterlistsData {
    open var code: Int = 0
    open var message: String = ""
    open var head_portrait: MutableList<String>? = ArrayList()
    open var invitelistsdata: MutableList<InviteListData>? = ArrayList()


    fun isSuccess():Boolean{
        return code==10000
    }
}

data class InviteListData(
    val head_portrait: String,
    val invite_id: Int,
    val active_status: String
)

open class postInviterCodeDara {
    open var code: Int = 0
    open var count: Int = 0
    open var message: String = ""

    fun isSuccess():Boolean{
        return code==10000
    }

}
